#version 460
layout(location=0) in vec2 matcapUV;
layout (location=0) out vec4 FragColor;
uniform vec4 mainColor;
uniform sampler2D matCapTex;
void main() 
{
    vec4 matcapColor = texture(matCapTex,matcapUV);
    FragColor = matcapColor*mainColor;
}
